home *** CD-ROM | disk | FTP | other *** search
/ Canadian Geographic Explorer / Canadian Geographic Explorer.iso / pc / riddler.dxr / 00022_Enter Name 2 Init Script.ls < prev    next >
Encoding:
Text File  |  1996-10-03  |  460 b   |  13 lines

  1. on exitFrame
  2.   global gVoiceChannel, gPathToSound, fileDelimiter
  3.   if soundBusy(gVoiceChannel) then
  4.     sound stop gVoiceChannel
  5.   end if
  6.   unloadMember()
  7.   preloadMember(member "player2 start" of castLib "signup", member "player2 stop" of castLib "signup")
  8.   if the text of field "player name" <> EMPTY then
  9.     set the text of field "player name" to EMPTY
  10.   end if
  11.   sound playFile gVoiceChannel, gPathToSound & "signup" & fileDelimiter & "askname2.aif"
  12. end
  13.